Manager: Text Services Manager



Carbon supports nearly all Text Services Manager functions. The exceptions are those functions, such as NewServiceWindow and CloseServiceWindow, used to create and manage floating utility windows. If you have a TSM component that uses floating utility windows, you should replace these functions with equivalent Mac OS 8.5 Window Manager functions, which offer more complete support for creating and managing floating windows.

For example, instead of the NewServiceWindow function, you can use the Window Manager function CreateNewWindow, and specify either kFloatingWindowClass or kUtilityWindowClass.

Likewise, use DisposeWindow instead of CloseServiceWindow, GetFrontWindowOfClass instead of GetFrontServiceWindow, and FindWindowOfClass instead of FindServiceWindow.

Finally, the TSMEvent, TSMMenuSelect, and SetTSMCursor functions no longer need to be called, so they are not included in Carbon.

Supported  ActivateTextService

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  ActivateTSMDocument

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  CloseServiceWindow

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to CloseServiceWindow with calls to the Window Manager function DisposeWindow. Not available in Carbon.

Supported  CloseTextService

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  CloseTSMAwareApplication

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Supported  DeactivateTextService

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  DeactivateTSMDocument

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  DeleteTSMDocument

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  FindServiceWindow

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, you should replace calls to FindServiceWindow with calls to the Window Manager function FindWindow. Not available in Carbon.

Supported  FixTextService

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  FixTSMDocument

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetDefaultInputMethod

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  GetFrontServiceWindow

You should use Mac OS 8.5 Window Manager functions to create floating windows. Then, replace calls to GetFrontServiceWindow with calls to the Window Manager function FrontWindow. Not available in Carbon.

Supported  GetScriptLanguageSupport

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetServiceList

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetTextServiceLanguage

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetTextServiceMenu

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetTextServiceProperty

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  HidePaletteWindows

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  InitiateTextService

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  InitTSMAwareApplication

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Unsupported  NewCServiceWindow

Replace calls to NewCServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows. Not available in Carbon.

Unsupported  NewServiceWindow

Replace calls to NewServiceWindow in your component with calls to Mac OS 8.5 Window Manager creation functions, such as CreateNewWindow, which offer more complete support for floating windows. Not available in Carbon.

Supported  NewTSMDocument

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  OpenTextService

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SendAEFromTSMComponent

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SendTextInputEvent

Not available in Carbon.

Supported  SetDefaultInputMethod

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  SetTextServiceCursor

Not available in Carbon.

Supported  SetTextServiceLanguage

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SetTextServiceProperty

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  SetTSMCursor

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Supported  TerminateTextService

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  TextServiceEvent

Not available in Carbon.

Supported  TextServiceEventRef

Available in Carbon 1.1 and later when running Mac OS 8.6 or later.

Unsupported  TextServiceMenuSelect

Not available in Carbon.

Unsupported  TSMEvent

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Unsupported  TSMMenuSelect

Not needed in Mac OS X due to the new event model. Not available in Carbon.

Supported  TSMSetInlineInputRegion

Available in Carbon 1.1 and later when running Mac OS 8.6 or later.

Unsupported  UCTextServiceEvent

This function isn't useful. Not available in Carbon.

Unsupported  UCTextServiceEventRef

This function isn't useful.

Supported  UseInputWindow

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 8/1/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.